 //控制层 
app.controller('contentController' ,function($scope,contentservice){
    $scope.contentList = [];//所有的广告列表
    $scope.findByCategoryId = function (cateGoryId) {
        contentservice.findByCategoryId(cateGoryId).success(
            function (response) {
                $scope.contentList[cateGoryId] = response;
            }
        );
    };


});	
